package com.guigu.www.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.www.pojo.Gather;

import java.util.List;

public interface GatherMapper extends BaseMapper<Gather> {
    //查询所以的要入库的产品
    public Gather queryGatherById(int id);
    //审核入库产品是否通过
    public int updateGaherById(Gather gather);
    //根据流水号查询入库的产品申请单
    public Gather queryGaherBygatherId(String gatherId);
    //根据流水号查询入库的产品申请单
    public Gather queryGaherBygatherIds(String gatherId);
    //调度成功 修改状态
    public int updateGatherBygatherId(String gatherId);
    //入库单流水号
    public Gather QueryGatherSerialNumber();
    //根据登记的入库单号查询对应的入库数据 入库明细数据
    public Gather queryByGatherGatherdetailswarhousing(String gatherId);
    //登记 修改状态
    public  int updateWarehosingGaher(Gather gather);
    ////修改改库存表为K002-4 通过
    public  int  updatewarehousingexaminequeryGatherByGathers(Gather gather);
}
